import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import user from './modules/user'
import settings from './modules/settings'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    app,
    user,
    settings
  },
  state: {
    settings: {
      title: '人力资源系统',
      showSettings: false,
      // ... 其他配置
    }
  }
})
